.Net Framework > v1.1.4322 > System > Messaging > MessageQueue > Receive Receive()
Receive(MessageQueueTransaction)
Receive(MessageQueueTransactionType)
Receive(TimeSpan)
Receive(TimeSpan,MessageQueueTransaction)
Receive(TimeSpan,MessageQueueTransactionType)


Receive()

Category
Method
Description
Receives the first message available in the queue referenced by the System.Messaging.MessageQueue . This call is synchronous, and blocks the current thread of execution until a message is available.
Type
Message
Character
public
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Receive(MessageQueueTransaction)

Category
Method
Description
Receives the first message available in the transactional queue referenced by the System.Messaging.MessageQueue . This call is synchronous, and blocks the current thread of execution until a message is available.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Receive(MessageQueueTransactionType)

Category
Method
Description
Receives the first message available in the queue referenced by the System.Messaging.MessageQueue . This call is synchronous, and blocks the current thread of execution until a message is available.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Receive(TimeSpan)

Category
Method
Description
Receives the first message available in the queue referenced by the System.Messaging.MessageQueue and waits until either a message is available in the queue, or the time-out expires.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Receive(TimeSpan,MessageQueueTransaction)

Category
Method
Description
Receives the first message available in the transactional queue referenced by the System.Messaging.MessageQueue and waits until either a message is available in the queue, or the time-out expires.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Receive(TimeSpan,MessageQueueTransactionType)

Category
Method
Description
Receives the first message available in the queue referenced by the System.Messaging.MessageQueue . This call is synchronous, and waits until either a message is available in the queue, or the time-out expires.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database